Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Fri, 13 Mar 2026 01:25:04 +0000 (14:25 +1300)
committerVladimir Petko <vladimir.petko@canonical.com>
Fri, 13 Mar 2026 01:25:04 +0000 (14:25 +1300)
commit34c9eb15252d5d077c9b6bc7f4131f7f8fedb829
tree10ed2fc66258f129b57e664f937070dcd493cc37
parentc230eee8fcc917803678342e6396d923017954e9
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp